package com.ruoyi.im.service;

import com.ruoyi.im.entity.IMGroupMember;

import java.util.List;

/**
 * Created by wx on 2017/10/27.
 */
public interface IMGroupMemberService {

    IMGroupMember getGroupMemberById(Long id);

    IMGroupMember getGroupMemberByGroupId(Long groupId);

    IMGroupMember getGroupMemberByUserId(Long userId);

    List<IMGroupMember> getAllGroupMember();

    long addGroupMember(IMGroupMember user);

    Boolean deleteGroupMember(Long id);

    Boolean updateGroupMember(IMGroupMember user);

    List<IMGroupMember> findGroupMember(IMGroupMember user);
}
